package com.hellobike.haxing.modules.wms.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class DeliveryOrderHeaderDto implements Serializable {

    /**id*/
    @TableId(type = IdType.AUTO)
    private Long id ;
    /**orderCode*/
    @Excel(name = "orderCode", width = 15)
    private String orderCode ;
    /**orderStatus*/
    @Excel(name = "orderStatus", width = 15)
    private String orderStatus ;
    /**orderType*/
    @Excel(name = "orderType", width = 15)
    private String orderType ;
    /**contactName*/
    @Excel(name = "contactName", width = 15)
    private String contactName ;
    /**tel*/
    @Excel(name = "tel", width = 15)
    private String tel ;
    /**mobile*/
    @Excel(name = "mobile", width = 15)
    private String mobile ;
    /**provinceId*/
    @Excel(name = "provinceId", width = 15)
    private Long provinceId ;
    /**cityId*/
    @Excel(name = "cityId", width = 15)
    private Long cityId ;
    /**districtId*/
    @Excel(name = "districtId", width = 15)
    private Long districtId ;
    /**streetId*/
    @Excel(name = "streetId", width = 15)
    private Long streetId ;
    /**province*/
    @Excel(name = "province", width = 15)
    private String province ;
    /**city*/
    @Excel(name = "city", width = 15)
    private String city ;
    /**district*/
    @Excel(name = "district", width = 15)
    private String district ;
    /**street*/
    @Excel(name = "street", width = 15)
    private String street ;
    /**address*/
    @Excel(name = "address", width = 15)
    private String address ;
    /**orderSource*/
    @Excel(name = "orderSource", width = 15)
    private String orderSource ;
    /**note*/
    @Excel(name = "note", width = 15)
    private String note ;
    /**warehouseId*/
    @Excel(name = "warehouseId", width = 15)
    private Long warehouseId ;
    /**shopId*/
    @Excel(name = "shopId", width = 15)
    private Long shopId ;
    /**waveId*/
    @Excel(name = "waveId", width = 15)
    private Long waveId ;
    /**waveCode*/
    @Excel(name = "waveCode", width = 15)
    private String waveCode ;
    /**pickId*/
    @Excel(name = "pickId", width = 15)
    private Long pickId ;
    /**pickCode*/
    @Excel(name = "pickCode", width = 15)
    private String pickCode ;
    /**printFlag*/
    @Excel(name = "printFlag", width = 15)
    private Integer printFlag ;
    /**createTime*/
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime ;
    /**updateTime*/
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime ;
    /**createBy*/
    @Excel(name = "createBy", width = 15)
    private Integer createBy ;
    /**updateBy*/
    @Excel(name = "updateBy", width = 15)
    private Integer updateBy ;
    /**deleted*/
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private Integer deleted ;


    @Excel(name = "boxCount", width = 15)
    private Long boxCount ;
    @Excel(name = "noBoxCount", width = 15)
    private Long noBoxCount ;
    @Excel(name = "skuCount", width = 15)
    private Long skuCount ;
}
